
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>数据关系栏 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="CALENDAR.html" />
    
    
    <link rel="prev" href="DataRelationPage.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="2.1" >
            
                <span>
            
                    
                    应用
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../APPS/LOCALE.html">
            
                <a href="../APPS/LOCALE.html">
            
                    
                    国际化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../APPS/EXTENDED.html">
            
                <a href="../APPS/EXTENDED.html">
            
                    
                    快速介入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../APPS/STYLE.html">
            
                <a href="../APPS/STYLE.html">
            
                    
                    样式规划
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4" data-path="../APPS/NAVG.html">
            
                <a href="../APPS/NAVG.html">
            
                    
                    导航模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="../APPS/TEMP.html">
            
                <a href="../APPS/TEMP.html">
            
                    
                    临时模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="../APPS/Theme.html">
            
                <a href="../APPS/Theme.html">
            
                    
                    应用主题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.7" data-path="../APPS/NAVPARAM.html">
            
                <a href="../APPS/NAVPARAM.html">
            
                    
                    自定义导航参数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.8" data-path="../APPS/VIEWMESSAGE.html">
            
                <a href="../APPS/VIEWMESSAGE.html">
            
                    
                    视图消息
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" >
            
                <span>
            
                    
                    视图
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="../VIEWS/EDITVIEW.html">
            
                <a href="../VIEWS/EDITVIEW.html">
            
                    
                    实体编辑视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="../VIEWS/EDITVIEWPAGE.html">
            
                <a href="../VIEWS/EDITVIEWPAGE.html">
            
                    
                    实体编辑视图(分页关系)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="../VIEWS/EDITVIEWUPDOWN.html">
            
                <a href="../VIEWS/EDITVIEWUPDOWN.html">
            
                    
                    实体编辑视图(上下关系)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="../VIEWS/EDITVIEWABOUT.html">
            
                <a href="../VIEWS/EDITVIEWABOUT.html">
            
                    
                    实体编辑视图(左右关系)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.5" data-path="../VIEWS/MEDITVIEW.html">
            
                <a href="../VIEWS/MEDITVIEW.html">
            
                    
                    实体多表单编辑视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6" data-path="../VIEWS/GRIDVIEW.html">
            
                <a href="../VIEWS/GRIDVIEW.html">
            
                    
                    实体表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.7" data-path="../VIEWS/GRIDEXPVIEW.html">
            
                <a href="../VIEWS/GRIDEXPVIEW.html">
            
                    
                    实体表格导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8" data-path="../VIEWS/TABEXPVIEW.html">
            
                <a href="../VIEWS/TABEXPVIEW.html">
            
                    
                    实体分页导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.9" data-path="../VIEWS/EntityDataKanbanView.html">
            
                <a href="../VIEWS/EntityDataKanbanView.html">
            
                    
                    实体数据看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.10" data-path="../VIEWS/LISTVIEW.html">
            
                <a href="../VIEWS/LISTVIEW.html">
            
                    
                    实体列表视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.11" data-path="../VIEWS/LISTEXPVIEW.html">
            
                <a href="../VIEWS/LISTEXPVIEW.html">
            
                    
                    实体列表导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.12" data-path="../VIEWS/DATAVIEW.html">
            
                <a href="../VIEWS/DATAVIEW.html">
            
                    
                    实体数据视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.13" data-path="../VIEWS/OPTIONVIEW.html">
            
                <a href="../VIEWS/OPTIONVIEW.html">
            
                    
                    实体选项操作视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.14" data-path="../VIEWS/DATAVIEWEXPVIEW.html">
            
                <a href="../VIEWS/DATAVIEWEXPVIEW.html">
            
                    
                    实体卡片导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.15" data-path="../VIEWS/CALENDARVIEW.html">
            
                <a href="../VIEWS/CALENDARVIEW.html">
            
                    
                    实体日历视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.16" data-path="../VIEWS/DAREXPVIEW.html">
            
                <a href="../VIEWS/DAREXPVIEW.html">
            
                    
                    实体日历导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.17" data-path="../VIEWS/TREEVIEW.html">
            
                <a href="../VIEWS/TREEVIEW.html">
            
                    
                    实体树视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.18" data-path="../VIEWS/TREEEXPVIEW.html">
            
                <a href="../VIEWS/TREEEXPVIEW.html">
            
                    
                    实体树导航视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.19" data-path="../VIEWS/TREEGRIDEXVIEW.html">
            
                <a href="../VIEWS/TREEGRIDEXVIEW.html">
            
                    
                    实体树表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.20" data-path="../VIEWS/INDEXVIEW.html">
            
                <a href="../VIEWS/INDEXVIEW.html">
            
                    
                    应用首页视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.21" data-path="../VIEWS/AppKanBanView.html">
            
                <a href="../VIEWS/AppKanBanView.html">
            
                    
                    应用看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.22" data-path="../VIEWS/ENTITYKANBANVIEW.html">
            
                <a href="../VIEWS/ENTITYKANBANVIEW.html">
            
                    
                    实体看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.23" data-path="../VIEWS/GANTTVIEW.html">
            
                <a href="../VIEWS/GANTTVIEW.html">
            
                    
                    实体甘特图视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.24" data-path="../VIEWS/ENTITYCHARTVIEW.html">
            
                <a href="../VIEWS/ENTITYCHARTVIEW.html">
            
                    
                    实体图表视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.25" data-path="../VIEWS/ENTITYDATASELECTVIEW.html">
            
                <a href="../VIEWS/ENTITYDATASELECTVIEW.html">
            
                    
                    实体数据选择视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.26" data-path="../VIEWS/ENTITYSELECTGRIDVIEW.html">
            
                <a href="../VIEWS/ENTITYSELECTGRIDVIEW.html">
            
                    
                    实体选择表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.27" data-path="../VIEWS/ENTITYSELECTTREEVIEW.html">
            
                <a href="../VIEWS/ENTITYSELECTTREEVIEW.html">
            
                    
                    实体选择树视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.28" data-path="../VIEWS/INDEXPICKUPDATAVIEW.html">
            
                <a href="../VIEWS/INDEXPICKUPDATAVIEW.html">
            
                    
                    实体索引关系选择视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.29" data-path="../VIEWS/ENTITYWORKFLOWTABLEEXPVIEW.html">
            
                <a href="../VIEWS/ENTITYWORKFLOWTABLEEXPVIEW.html">
            
                    
                    实体工作流动态导航表格视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.30" data-path="../VIEWS/ENTITYWORKFLOWEDITVIEW.html">
            
                <a href="../VIEWS/ENTITYWORKFLOWEDITVIEW.html">
            
                    
                    实体工作流动态编辑视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.31" data-path="../VIEWS/LOGINVIEW.html">
            
                <a href="../VIEWS/LOGINVIEW.html">
            
                    
                    应用登录视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.32" data-path="../VIEWS/DATAUPLOADVIEW.html">
            
                <a href="../VIEWS/DATAUPLOADVIEW.html">
            
                    
                    应用数据导入视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.33" data-path="../VIEWS/REDIRECTVIEW.html">
            
                <a href="../VIEWS/REDIRECTVIEW.html">
            
                    
                    实体数据重定向视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.34" data-path="../VIEWS/CUSTOM.html">
            
                <a href="../VIEWS/CUSTOM.html">
            
                    
                    实体自定义视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.35" data-path="../VIEWS/WIZARDVIEW.html">
            
                <a href="../VIEWS/WIZARDVIEW.html">
            
                    
                    实体向导视图
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" >
            
                <span>
            
                    
                    部件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="FORM.html">
            
                <a href="FORM.html">
            
                    
                    表单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="GRID.html">
            
                <a href="GRID.html">
            
                    
                    表格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="GRIDEXPBAR.html">
            
                <a href="GRIDEXPBAR.html">
            
                    
                    表格导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.4" data-path="SEARCHBAR.html">
            
                <a href="SEARCHBAR.html">
            
                    
                    搜索栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="SEARCHFORM.html">
            
                <a href="SEARCHFORM.html">
            
                    
                    搜索表单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.6" data-path="DataKanBan.html">
            
                <a href="DataKanBan.html">
            
                    
                    数据看板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.7" data-path="PortalComponents.html">
            
                <a href="PortalComponents.html">
            
                    
                    门户部件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.8" data-path="TABEXPPANEL.html">
            
                <a href="TABEXPPANEL.html">
            
                    
                    分页导航面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.9" data-path="TABVIEWPANEL.html">
            
                <a href="TABVIEWPANEL.html">
            
                    
                    分页视图面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.10" data-path="APPMENU.html">
            
                <a href="APPMENU.html">
            
                    
                    应用菜单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.11" data-path="LIST.html">
            
                <a href="LIST.html">
            
                    
                    列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.12" data-path="LISTEXPBAR.html">
            
                <a href="LISTEXPBAR.html">
            
                    
                    列表导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.13" data-path="PANEL.html">
            
                <a href="PANEL.html">
            
                    
                    面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.14" data-path="DATAVIEWCTRL.html">
            
                <a href="DATAVIEWCTRL.html">
            
                    
                    数据视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.15" data-path="DATAVIEWEXPBAR.html">
            
                <a href="DATAVIEWEXPBAR.html">
            
                    
                    卡片视图导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.16" data-path="DataRelationPage.html">
            
                <a href="DataRelationPage.html">
            
                    
                    数据关系分页
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.3.17" data-path="DATARELATIONFIELD.html">
            
                <a href="DATARELATIONFIELD.html">
            
                    
                    数据关系栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.18" data-path="CALENDAR.html">
            
                <a href="CALENDAR.html">
            
                    
                    日历部件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.19" data-path="CALENDARTIMELINE.html">
            
                <a href="CALENDARTIMELINE.html">
            
                    
                    日历部件(时间轴)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.20" data-path="CALENDAREXPBAR.html">
            
                <a href="CALENDAREXPBAR.html">
            
                    
                    日历导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.21" data-path="TREEEXPBAR.html">
            
                <a href="TREEEXPBAR.html">
            
                    
                    树导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.22" data-path="TREEVIEWUNIT.html">
            
                <a href="TREEVIEWUNIT.html">
            
                    
                    树视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.23" data-path="TREEGRID.html">
            
                <a href="TREEGRID.html">
            
                    
                    树表格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.24" data-path="MULTIEDITVIEWPANEL.html">
            
                <a href="MULTIEDITVIEWPANEL.html">
            
                    
                    多编辑视图面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.25" data-path="KANBANVIEWUNIT.html">
            
                <a href="KANBANVIEWUNIT.html">
            
                    
                    看板视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.26" data-path="GANTT.html">
            
                <a href="GANTT.html">
            
                    
                    甘特图部件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.27" data-path="DATACHART.html">
            
                <a href="DATACHART.html">
            
                    
                    数据图表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.28" data-path="SELECTVIEWPANEL.html">
            
                <a href="SELECTVIEWPANEL.html">
            
                    
                    选择视图面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.29" data-path="WIZARDPANEL.html">
            
                <a href="WIZARDPANEL.html">
            
                    
                    向导面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.30" data-path="STATEWIZARDPANEL.html">
            
                <a href="STATEWIZARDPANEL.html">
            
                    
                    状态向导面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.31" data-path="CONTEXTMENU.html">
            
                <a href="CONTEXTMENU.html">
            
                    
                    上下文菜单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.32" data-path="TOOLBAR.html">
            
                <a href="TOOLBAR.html">
            
                    
                    工具栏
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" >
            
                <span>
            
                    
                    编辑器
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="../EDITORS/BASIC.html">
            
                <a href="../EDITORS/BASIC.html">
            
                    
                    基础类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="../EDITORS/SHOW.html">
            
                <a href="../EDITORS/SHOW.html">
            
                    
                    展示类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="../EDITORS/SELECT.html">
            
                <a href="../EDITORS/SELECT.html">
            
                    
                    选择类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="../EDITORS/TIME.html">
            
                <a href="../EDITORS/TIME.html">
            
                    
                    时间类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.5" data-path="../EDITORS/FILEUPLOADlIST.html">
            
                <a href="../EDITORS/FILEUPLOADlIST.html">
            
                    
                    文件上传类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.6" data-path="../EDITORS/DATASELECT.html">
            
                <a href="../EDITORS/DATASELECT.html">
            
                    
                    数据选择类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4.7" data-path="../EDITORS/AUTOCOMPLETELIST.html">
            
                <a href="../EDITORS/AUTOCOMPLETELIST.html">
            
                    
                    自动填充类
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" >
            
                <span>
            
                    
                    逻辑
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="../LOGIC/APPFUNC.html">
            
                <a href="../LOGIC/APPFUNC.html">
            
                    
                    应用功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.2" data-path="../LOGIC/ACTION.html">
            
                <a href="../LOGIC/ACTION.html">
            
                    
                    界面行为
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5.3" data-path="../LOGIC/VIEWLOGIC.html">
            
                <a href="../LOGIC/VIEWLOGIC.html">
            
                    
                    视图逻辑
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" >
            
                <span>
            
                    
                    UI服务
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" data-path="../UISERVICE/CTRLSERVICE.html">
            
                <a href="../UISERVICE/CTRLSERVICE.html">
            
                    
                    部件服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="../UISERVICE/UISERVICE.html">
            
                <a href="../UISERVICE/UISERVICE.html">
            
                    
                    界面服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.3" data-path="../UISERVICE/AUTHSERVICE.html">
            
                <a href="../UISERVICE/AUTHSERVICE.html">
            
                    
                    权限服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="../UISERVICE/CODELISTSERVICE.html">
            
                <a href="../UISERVICE/CODELISTSERVICE.html">
            
                    
                    代码表服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.5" data-path="../UISERVICE/COUNTERSERVICE.html">
            
                <a href="../UISERVICE/COUNTERSERVICE.html">
            
                    
                    计数器服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.6" data-path="../UISERVICE/APPUTILSERVICE.html">
            
                <a href="../UISERVICE/APPUTILSERVICE.html">
            
                    
                    应用功能服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6.7" data-path="../UISERVICE/VIEWMESSAGESERVICE.html">
            
                <a href="../UISERVICE/VIEWMESSAGESERVICE.html">
            
                    
                    视图消息服务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.7" >
            
                <span>
            
                    
                    数据服务
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.7.1" data-path="../DATASERVICE/DATASERVICE.html">
            
                <a href="../DATASERVICE/DATASERVICE.html">
            
                    
                    数据服务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="../APPS/PROBLEM.html">
            
                <a href="../APPS/PROBLEM.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >数据关系栏</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="&#x6570;&#x636E;&#x5173;&#x7CFB;&#x680F;"><a href="https://modelapi.ibizlab.cn/#/net/ibizsys/model/control/drctrl/IPSDEDRBar" target="_blank">&#x6570;&#x636E;&#x5173;&#x7CFB;&#x680F;</a></h2>
<p>&#x6570;&#x636E;&#x5173;&#x7CFB;&#x680F;&#x90E8;&#x4EF6;&#x7528;&#x6765;&#x5448;&#x73B0;&#x4E0E;&#x8868;&#x5355;&#x6570;&#x636E;1&#xFF1A;N&#x5173;&#x8054;&#x7684;&#x5B50;&#x5B9E;&#x4F53;&#x7684;&#x6570;&#x636E;&#xFF0C;&#x5B50;&#x5B9E;&#x4F53;&#x7684;&#x540D;&#x79F0;&#x5C31;&#x662F;&#x5206;&#x9875;&#x4E2D;&#x7684;&#x83DC;&#x5355;&#xFF0C;&#x5BF9;&#x5E94;&#x5B50;&#x5B9E;&#x4F53;&#x7684;&#x6570;&#x636E;&#x4E0E;&#x8868;&#x5355;&#x6570;&#x636E;1&#xFF1A;N&#x5173;&#x8054;&#xFF1B;&#x6570;&#x636E;&#x5173;&#x7CFB;&#x680F;&#x4E0E;&#x6570;&#x636E;&#x5173;&#x7CFB;&#x5206;&#x9875;&#x90E8;&#x4EF6;&#x7C7B;&#x4F3C;&#x3002;</p>
<h2 id="&#x5448;&#x73B0;&#x6548;&#x679C;">&#x5448;&#x73B0;&#x6548;&#x679C;</h2>
<p><img src="images/DATARELATIONFIELD.png" alt="image-20201010143655198"></p>
<h2 id="&#x57FA;&#x7840;&#x7528;&#x6CD5;"><a href="http://demo.ibizlab.cn/ibizr7pfstdtempl/ibizvuer7/tree/master/@CONTROL/%E6%95%B0%E6%8D%AE%E5%85%B3%E7%B3%BB%E6%A0%8F" target="_blank">&#x57FA;&#x7840;&#x7528;&#x6CD5;</a></h2>
<h3 id="ui&#x7ED3;&#x6784;">UI&#x7ED3;&#x6784;</h3>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x529F;&#x80FD;</th>
<th>&#x4F7F;&#x7528;&#x6A21;&#x578B;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>C170U0001</td>
<td>&#x6837;&#x5F0F;&#x8868;</td>
<td>getPSSysCss()</td>
<td>&#x6570;&#x636E;&#x5173;&#x7CFB;&#x680F;&#x90E8;&#x4EF6;&#x6837;&#x5F0F;</td>
</tr>
<tr>
<td>C170U0002</td>
<td>&#x81EA;&#x5B9A;&#x4E49;&#x63D2;&#x4EF6;</td>
<td>getRender()</td>
<td>&#x8BE6;&#x60C5;&#x53C2;&#x89C1;<a href="../APPS/EXTENDED.html">&#x5FEB;&#x901F;&#x4ECB;&#x5165;</a>&#x7BC7;</td>
</tr>
</tbody>
</table>
<h3 id="&#x884C;&#x4E3A;&#x903B;&#x8F91;">&#x884C;&#x4E3A;&#x903B;&#x8F91;</h3>
<table>
<thead>
<tr>
<th>&#x7F16;&#x53F7;</th>
<th>&#x529F;&#x80FD;</th>
<th>&#x5173;&#x952E;&#x8BCD;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>C170L0001</td>
<td>&#x90E8;&#x4EF6;&#x52A0;&#x8F7D;</td>
<td>created</td>
<td>&#x6839;&#x636E;&#x89C6;&#x56FE;&#x72B6;&#x6001;&#x8BBE;&#x7F6E;&#x5173;&#x7CFB;&#x9879;&#x72B6;&#x6001;&#xFF0C;&#x8BBE;&#x7F6E;&#x9ED8;&#x8BA4;&#x9009;&#x4E2D;&#x8282;&#x70B9;&#x5E76;&#x5C06;&#x7B2C;&#x4E00;&#x6761;&#x5173;&#x7CFB;&#x680F;&#x6570;&#x636E;&#x9879;&#x5E76;&#x629B;&#x51FA;selectionchange&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td>C170L0002</td>
<td>&#x8282;&#x70B9;&#x9009;&#x4E2D;</td>
<td>onSelect</td>
<td>&#x70B9;&#x51FB;&#x5DE6;&#x4FA7;&#x83DC;&#x5355;&#x9879;&#x65F6;&#xFF0C;&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x6570;&#x636E;&#x9879;&#xFF0C;&#x521D;&#x59CB;&#x5316;&#x5BFC;&#x822A;&#x53C2;&#x6570;&#xFF0C;&#x83B7;&#x53D6;&#x5BF9;&#x5E94;&#x7684;&#x5173;&#x7CFB;&#x9879;&#xFF0C;&#x8BBE;&#x7F6E;&#x6570;&#x636E;&#x9009;&#x4E2D;&#x9879;selection</td>
</tr>
<tr>
<td>C170L0003</td>
<td>&#x6253;&#x5F00;&#x8282;&#x70B9;</td>
<td>onOpen</td>
<td>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x6570;&#x636E;&#x9879;&#xFF0C;&#x82E5;&#x8BE5;&#x6570;&#x636E;&#x9879;&#x4E3A;&#x6570;&#x636E;&#x9009;&#x4E2D;&#x9879;selection&#xFF0C;&#x5219;return;&#x82E5;&#x4E0D;&#x540C;&#x5219;&#x91CD;&#x65B0;&#x8BBE;&#x7F6E;&#x6570;&#x636E;&#x9009;&#x4E2D;&#x9879;selection&#xFF0C;&#x5E76;&#x629B;&#x51FA;selectionchange&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td>C170L0004</td>
<td>&#x5173;&#x95ED;&#x8282;&#x70B9;</td>
<td>onClose</td>
<td>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x6570;&#x636E;&#x9879;&#xFF0C;&#x82E5;&#x8BE5;&#x6570;&#x636E;&#x9879;&#x4E3A;&#x6570;&#x636E;&#x9009;&#x4E2D;&#x9879;selection&#xFF0C;&#x5219;return;&#x82E5;&#x4E0D;&#x540C;&#x5219;&#x91CD;&#x65B0;&#x8BBE;&#x7F6E;&#x6570;&#x636E;&#x9009;&#x4E2D;&#x9879;selection&#xFF0C;&#x5E76;&#x629B;&#x51FA;selectionchange&#x4E8B;&#x4EF6;</td>
</tr>
<tr>
<td>C170L0005</td>
<td>&#x521D;&#x59CB;&#x5316;&#x5BFC;&#x822A;&#x53C2;&#x6570;</td>
<td>initNavParam</td>
<td>&#x9009;&#x4E2D;&#x8282;&#x70B9;&#x65F6;&#xFF0C;&#x521D;&#x59CB;&#x5316;&#x5BFC;&#x822A;&#x53C2;&#x6570;</td>
</tr>
<tr>
<td>C170L0006</td>
<td>&#x83B7;&#x53D6;&#x5173;&#x7CFB;&#x9879;</td>
<td>getDRBarItem</td>
<td>&#x9009;&#x4E2D;&#x8282;&#x70B9;&#x65F6;&#xFF0C;&#x83B7;&#x53D6;&#x5BF9;&#x5E94;&#x8282;&#x70B9;&#x7684;&#x5173;&#x7CFB;&#x9879;</td>
</tr>
</tbody>
</table>
<blockquote style="border-color: blue;"><p>&#x90E8;&#x4EF6;&#x52A0;&#x8F7D;</p></blockquote>

<p>&#x90E8;&#x4EF6;&#x52A0;&#x8F7D;&#x65F6;&#x6839;&#x636E;&#x89C6;&#x56FE;&#x72B6;&#x6001;&#x8BBE;&#x7F6E;&#x5173;&#x7CFB;&#x9879;&#x72B6;&#x6001;&#xFF0C;&#x8BBE;&#x7F6E;&#x9ED8;&#x8BA4;&#x9009;&#x4E2D;&#x8282;&#x70B9;&#x5E76;&#x5C06;&#x7B2C;&#x4E00;&#x6761;&#x5173;&#x7CFB;&#x680F;&#x6570;&#x636E;&#x9879;&#x5E76;&#x629B;&#x51FA;selectionchange&#x4E8B;&#x4EF6;&#x3002;</p>
<pre><code class="lang-typescript">    <span class="hljs-comment">/**
     * &#x751F;&#x547D;&#x5468;&#x671F;
     *
     * @memberof ${srfclassname(&apos;${ctrl.codeName}&apos;)}Base
     */</span>
    <span class="hljs-keyword">public</span> created(): <span class="hljs-built_in">void</span> {
        <span class="hljs-keyword">if</span> (<span class="hljs-keyword">this</span>.viewState) {
            <span class="hljs-keyword">this</span>.viewStateEvent = <span class="hljs-keyword">this</span>.viewState.subscribe(({ tag, action, data }) =&gt; {
                <span class="hljs-keyword">if</span> (!<span class="hljs-built_in">Object</span>.is(tag, <span class="hljs-keyword">this</span>.name)) {
                    <span class="hljs-keyword">return</span>;
                }
                <span class="hljs-keyword">if</span> (<span class="hljs-built_in">Object</span>.is(<span class="hljs-string">&apos;state&apos;</span>, action)) {
                    <span class="hljs-keyword">const</span> state = !<span class="hljs-keyword">this</span>.context.${ctrl.getPSAppDataEntity().getCodeName()?lower_case} ? <span class="hljs-literal">true</span> : <span class="hljs-literal">false</span>;
                    <span class="hljs-keyword">this</span>.setItemDisabled(<span class="hljs-keyword">this</span>.items, state);
                }
            });
        }
        <span class="hljs-keyword">this</span>.$nextTick(() =&gt; {
            <span class="hljs-keyword">this</span>.onSelect(<span class="hljs-keyword">this</span>.items[<span class="hljs-number">0</span>].id)
            <span class="hljs-keyword">this</span>.$emit(<span class="hljs-string">&apos;selectionchange&apos;</span>, [<span class="hljs-keyword">this</span>.items[<span class="hljs-number">0</span>]]);
        });
    }
    <span class="hljs-comment">/**
     * &#x8BBE;&#x7F6E;&#x5173;&#x7CFB;&#x9879;&#x72B6;&#x6001;
     *
     * @param {any[]} items
     * @param {boolean} state
     * @memberof ${srfclassname(&apos;${ctrl.codeName}&apos;)}Base
     */</span>
    <span class="hljs-keyword">public</span> setItemDisabled(items: <span class="hljs-built_in">any</span>[], state: <span class="hljs-built_in">boolean</span>) {
        items.forEach((item: <span class="hljs-built_in">any</span>) =&gt; {
            <span class="hljs-keyword">if</span> (!<span class="hljs-built_in">Object</span>.is(item.id, <span class="hljs-string">&apos;form&apos;</span>)) {
                item.disabled = state;
            }
            <span class="hljs-keyword">if</span> (item.items &amp;&amp; <span class="hljs-built_in">Array</span>.isArray(item.items)) {
                <span class="hljs-keyword">this</span>.setItemDisabled(item.items, state);
            }
        });
    }
    <span class="hljs-comment">/**
     * &#x8282;&#x70B9;&#x9009;&#x4E2D;
     *
     * @param {*} $event
     * @memberof ${srfclassname(&apos;${ctrl.codeName}&apos;)}Base
     */</span>
    <span class="hljs-keyword">public</span> onSelect($event: <span class="hljs-built_in">any</span>): <span class="hljs-built_in">void</span> {
        <span class="hljs-keyword">const</span> item = <span class="hljs-keyword">this</span>.getItem(<span class="hljs-keyword">this</span>.items, $event);
        <span class="hljs-keyword">if</span> (<span class="hljs-built_in">Object</span>.is(item.id, <span class="hljs-keyword">this</span>.selection.id)) {
            <span class="hljs-keyword">return</span>;
        }
        <span class="hljs-keyword">this</span>.$emit(<span class="hljs-string">&apos;selectionchange&apos;</span>, [item]);
        <span class="hljs-keyword">let</span> localNavParam:<span class="hljs-built_in">any</span> = <span class="hljs-keyword">this</span>.initNavParam(item);
        <span class="hljs-keyword">const</span> refview = <span class="hljs-keyword">this</span>.getDRBarItem({ nodetype: item.id });
        <span class="hljs-keyword">this</span>.selection = {};
        <span class="hljs-keyword">const</span> _context: <span class="hljs-built_in">any</span> = { ...JSON.parse(<span class="hljs-built_in">JSON</span>.stringify(<span class="hljs-keyword">this</span>.context)) };
        <span class="hljs-keyword">if</span>(localNavParam &amp;&amp; localNavParam.localContext){
            <span class="hljs-built_in">Object</span>.assign(_context,localNavParam.localContext);
        }
        <span class="hljs-keyword">const</span> _params: <span class="hljs-built_in">any</span> = {};
        <span class="hljs-keyword">if</span>(localNavParam &amp;&amp; localNavParam.localViewParam){
            <span class="hljs-built_in">Object</span>.assign(_params,localNavParam.localViewParam);
        }
        <span class="hljs-keyword">if</span> (refview &amp;&amp; refview.parentdatajo) {
            <span class="hljs-built_in">Object</span>.assign(_context, refview.parentdatajo);
            <span class="hljs-built_in">Object</span>.assign(<span class="hljs-keyword">this</span>.selection, { view: { viewname: refview.viewname }, data: _context, param: _params });
        }
        <span class="hljs-built_in">Object</span>.assign(<span class="hljs-keyword">this</span>.selection, item);
    }
</code></pre>
<blockquote style="border-color: blue;"><p>&#x8282;&#x70B9;&#x6253;&#x5F00;&#x548C;&#x5173;&#x95ED;&#x65F6;</p></blockquote>

<p>&#x8282;&#x70B9;&#x5728;&#x6253;&#x5F00;&#x548C;&#x5173;&#x95ED;&#x65F6;&#xFF0C;&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x6570;&#x636E;&#x9879;&#xFF0C;&#x82E5;&#x8BE5;&#x6570;&#x636E;&#x9879;&#x4E3A;&#x6570;&#x636E;&#x9009;&#x4E2D;&#x9879;selection&#xFF0C;&#x5219;return;&#x82E5;&#x4E0D;&#x540C;&#x5219;&#x91CD;&#x65B0;&#x8BBE;&#x7F6E;&#x6570;&#x636E;&#x9009;&#x4E2D;&#x9879;selection&#xFF0C;&#x5E76;&#x629B;&#x51FA;selectionchange&#x4E8B;&#x4EF6;</p>
<pre><code class="lang-typescript">    <span class="hljs-comment">/**
     * &#x5B50;&#x8282;&#x70B9;&#x6253;&#x5F00;
     *
     * @param {*} $event
     * @memberof ${srfclassname(&apos;${ctrl.codeName}&apos;)}Base
     */</span>
    <span class="hljs-keyword">public</span> onOpen($event: <span class="hljs-built_in">any</span>): <span class="hljs-built_in">void</span> {
        <span class="hljs-keyword">const</span> item = <span class="hljs-keyword">this</span>.getItem(<span class="hljs-keyword">this</span>.items, $event);
        <span class="hljs-keyword">if</span> (<span class="hljs-built_in">Object</span>.is(item.id, <span class="hljs-keyword">this</span>.selection.id)) {
            <span class="hljs-keyword">return</span>;
        }
        <span class="hljs-keyword">this</span>.selection = {};
        <span class="hljs-built_in">Object</span>.assign(<span class="hljs-keyword">this</span>.selection, item);
        <span class="hljs-keyword">if</span> (<span class="hljs-built_in">Object</span>.is(item.id, <span class="hljs-string">&apos;form&apos;</span>) || (item.viewname &amp;&amp; !<span class="hljs-built_in">Object</span>.is(item.viewname, <span class="hljs-string">&apos;&apos;</span>))) {
            <span class="hljs-keyword">this</span>.$emit(<span class="hljs-string">&apos;selectionchange&apos;</span>, [<span class="hljs-keyword">this</span>.selection]);
        }
    }

    <span class="hljs-comment">/**
     * &#x5B50;&#x8282;&#x70B9;&#x5173;&#x95ED;
     *
     * @param {*} $event
     * @memberof ${srfclassname(&apos;${ctrl.codeName}&apos;)}Base
     */</span>
    <span class="hljs-keyword">public</span> onClose($event: <span class="hljs-built_in">any</span>): <span class="hljs-built_in">void</span> {
        <span class="hljs-keyword">const</span> item = <span class="hljs-keyword">this</span>.getItem(<span class="hljs-keyword">this</span>.items, $event);
        <span class="hljs-keyword">if</span> (<span class="hljs-built_in">Object</span>.is(item.id, <span class="hljs-keyword">this</span>.selection.id)) {
            <span class="hljs-keyword">return</span>;
        }
        <span class="hljs-keyword">this</span>.selection = {};
        <span class="hljs-built_in">Object</span>.assign(<span class="hljs-keyword">this</span>.selection, item);
        <span class="hljs-keyword">if</span> (<span class="hljs-built_in">Object</span>.is(item.id, <span class="hljs-string">&apos;form&apos;</span>) || (item.viewname &amp;&amp; !<span class="hljs-built_in">Object</span>.is(item.viewname, <span class="hljs-string">&apos;&apos;</span>))) {
            <span class="hljs-keyword">this</span>.$emit(<span class="hljs-string">&apos;selectionchange&apos;</span>, [<span class="hljs-keyword">this</span>.selection]);
        }
    }
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="DataRelationPage.html" class="navigation navigation-prev " aria-label="Previous page: 数据关系分页">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="CALENDAR.html" class="navigation navigation-next " aria-label="Next page: 日历部件">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"数据关系栏","level":"2.3.17","depth":2,"next":{"title":"日历部件","level":"2.3.18","depth":2,"path":"CTRLS/CALENDAR.md","ref":"./CTRLS/CALENDAR.md","articles":[]},"previous":{"title":"数据关系分页","level":"2.3.16","depth":2,"path":"CTRLS/DataRelationPage.md","ref":"./CTRLS/DataRelationPage.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"CTRLS/DATARELATIONFIELD.md","mtime":"2020-10-10T08:35:32.942Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-11-02T06:38:45.289Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

